package com.ms.demo;

import com.ms.demo.factory1.Shape;
import com.ms.demo.factory2.Color;

/**
 * @description: 创建抽象类工厂
 * @author: ms
 * @create: 2022-10-21 16:57
 */
public abstract class AbstractFactory {
    public abstract Color getColor(String color);
    public abstract Shape getShape(String shape);
}